An interstellar molecular cloud collapses and forms a star, planet formation is stopped when the star reaches enough mass to have an outburst like it has started fusion.